package yl.hs.bmipfull.pojo.vehiclemanage;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.util.Date;

/**
 * 作用:  车辆维保记录表实体类<br/>
 * 创建时间: 2021年06月17日 11时10分19秒 <br/>
 *
 * @author 谢东
 */
@DBTable(disName = "车辆维保记录表", mapCode = "truck_maintenance_record")
public class TruckMaintenanceRecordEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "车辆维保记录表编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "")
    private String sn;
    /**
     * 车辆编号
     */
    @DBField(disName = "车辆编号")
    private String truckSN;
    /**
     * 维保类型
     */
    @DBField(disName = "维保类型")
    private Short maintenanceType;
    /**
     * 维保内容
     */
    @DBField(disName = "维保内容")
    private String maintenanceContent;
    /**
     * 维保时间
     */
    @DBField(disName = "维保时间")
    private Date handlerTime;
    /**
     * 记录状态
     */
    @DBField(disName = "记录状态")
    private Short state;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getTruckSN() {
        return this.truckSN;
    }

    public void setTruckSN(String truckSN) {
        this.truckSN = truckSN;
    }

    public Short getMaintenanceType() {
        return this.maintenanceType;
    }

    public void setMaintenanceType(Short maintenanceType) {
        this.maintenanceType = maintenanceType;
    }

    public String getMaintenanceContent() {
        return this.maintenanceContent;
    }

    public void setMaintenanceContent(String maintenanceContent) {
        this.maintenanceContent = maintenanceContent;
    }

    public Date getHandlerTime() {
        return this.handlerTime;
    }

    public void setHandlerTime(Date handlerTime) {
        this.handlerTime = handlerTime;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }


}